var runtime.maxstacksize
12 uses
runtime (current package)
proc.go#L155: maxstacksize = 1000000000
proc.go#L157: maxstacksize = 250000000
proc.go#L163: maxstackceiling = 2 * maxstacksize
rdebug.go#L11: out = int(maxstacksize)
rdebug.go#L12: maxstacksize = uintptr(in)
stack.go#L513: var maxstacksize uintptr = 1 << 20 // enough until runtime.main sets it for real
stack.go#L515: var maxstackceiling = maxstacksize
stack.go#L1100: if newsize > maxstacksize || newsize > maxstackceiling {
stack.go#L1101: if maxstacksize < maxstackceiling {
stack.go#L1102: print("runtime: goroutine stack exceeds ", maxstacksize, "-byte limit\n")
stack.go#L1339: if avg > uint64(maxstacksize) {
stack.go#L1340: avg = uint64(maxstacksize)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |